package com.testlio.assignment.dto;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * Data Transfer Object (DTO) for Issue entities.
 * Used to transfer issue data between the service layer and client.
 * Contains all readable fields of an issue.
 */
@Data
public class IssueDTO {
    /**
     * The unique identifier of the issue
     */
    private Integer id;

    /**
     * The title of the issue
     */
    private String title;

    /**
     * The detailed description of the issue
     */
    private String description;

    /**
     * Timestamp when the issue was created
     */
    private LocalDateTime createdAt;

    /**
     * Timestamp when the issue was last updated
     */
    private LocalDateTime updatedAt;

    /**
     * The user who created the issue
     */
    private String createdBy;

    /**
     * The user who updated the issue
     */
    private String updatedBy;
}